home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Business Master (4th Edition)
/
The Business Master - 4th Edition.iso
/
files
/
business
/
sriii1
/
install.bat
next >
Wrap
DOS Batch File
|
1994-03-14
|
2KB
|
89 lines
ECHO OFF
CLS
ECHO TO INSTALL FROM FLOPPY DRIVE A TO HARD DISK DRIVE C
ECHO PLACE THE SALES REGISTER III DISTRIBUTION DISKETTE IN DRIVE A:
ECHO TYPE A: PRESS ENTER
ECHO TYPE INSTALL A: C:
ECHO THIS WILL CREATED AN SRIII\ AND AN SRIII\DATA\ SUB-DIRECTORY AND
ECHO COPY THE SALES REGISTER PROGRAM FILES TO THE SRIII\ SUB-DIRECTORY
ECHO AND THE SALES REGISTER DATA FILES TO THE SRIII\DATA\ SUB-DIRECTORY
ECHO.
PAUSE
IF %1X == X GOTO ERROR MSG
IF %2X == X GOTO ERROR MSG
IF %1 == %2 GOTO ERROR MSG
GOTO START
:ERROR MSG
ECHO *** ERROR *** YOU DID NOT SPECIFY THE SOURCE AND TARGET DRIVES ***
ECHO.
ECHO PRESS CTRL C TO ABORT, (DO NOT CONTINUE!!!)
PAUSE
:START
CLS
ECHO.
ECHO.
ECHO INSTALLING SALES REGISTER III PROGRAM FILES. . .
ECHO PLEASE WAIT !!!
%2
CD \
MD SRIII
MD SRIII\DATA
CD SRIII
%1
COPY *.* %2
CLS
ECHO.
ECHO.
ECHO.
ECHO. INSERT SALES REGISTER III DISK #2
ECHO.
PAUSE
CLS
ECHO.
ECHO.
ECHO INSTALLING SALES REGISTER III PROGRAM FILES. . .
ECHO PLEASE WAIT !!!
COPY *.* %2
CLS
ECHO.
ECHO.
ECHO.
ECHO. INSERT SALES REGISTER III DISK #3
ECHO.
PAUSE
CLS
ECHO.
ECHO.
ECHO INSTALLING SALES REGISTER III PROGRAM FILES. . .
ECHO PLEASE WAIT !!!
COPY *.* %2
CLS
ECHO.
ECHO.
ECHO.
ECHO. INSERT SALES REGISTER III DISK #4
ECHO.
PAUSE
CLS
ECHO.
ECHO.
ECHO INSTALLING SALES REGISTER III PROGRAM FILES. . .
ECHO PLEASE WAIT !!!
COPY *.* %2
CLS
%2
CLS
SR1
DEL SR1.EXE
SR2
DEL SR2.EXE
SR3
DEL SR3.EXE
SR4
DEL SR4.EXE
CLS
ECHO INSTALLATION COMPLETE !!!
PAUSE
CLS
SRIII